<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>029-HTML5-Input类型-color</title>
</head>

<body>
    <!-- 新的输入类型： color、date、datetime、datetime-local、email、month、number、range、search、tel、time、url、week -->
    <!-- color 类型用在input字段主要用于选取颜色 -->
    <form action="demo-form.php">
        选择你喜欢的颜色: <input type="color" name="favcolor"><br>
        <input type="submit">
    </form>
</body>

</html>